import request from '../utils/request'

export function list(params) {
  return request({
    url: '/article/list',
    method: 'get',
    params: params
  })
}

export function find(id) {
  return request({
    url: '/article/find/'+id,
    method: 'get'
  })
}

export function tag(params) {
  return request({
    url: '/tag/list',
    method: 'get',
    params: params
  })
}
export function articleCategoryList(params) {
  return request({
    url:'/articleCategory/list',
    method:'get',
    params:params
  })
}


